﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WxHelper.Wx
{
    public class Access_token
    {
        public Access_token()
        {
            //  
            //TODO: 在此处添加构造函数逻辑  
            //  
        }
        string _access_token;
        string _expires_in;
        string _refresh_token;
        string _openid;
        string _scope;

        /// <summary>  
        /// 获取到的凭证   
        /// </summary>  
        public string access_token
        {
            get { return _access_token; }
            set { _access_token = value; }
        }

        /// <summary>  
        /// 凭证有效时间，单位：秒  
        /// </summary>  
        public string expires_in
        {
            get { return _expires_in; }
            set { _expires_in = value; }
        }

        /// <summary>
        /// 用户刷新access_token 
        /// </summary>
        public string Refresh_token
        {
            get { return _refresh_token; }
            set { _refresh_token = value; }
        }

        /// <summary>
        /// 用户openid
        /// </summary>
        public string OpenId
        {
            get { return _openid; }
            set { _openid = value; }
        }

        /// <summary>
        /// 用户授权的作用域，使用逗号（,）分隔 
        /// </summary>
        public string Scope
        {
            get { return _scope; }
            set { _scope = value; }
        }
    }
}
